package cn.example.zjgsu.pojo;

import java.io.Serializable;
import java.util.List;

public class Shop implements Serializable {
    private Integer id;

    private String score;

    private String price;

    private String address;

    private String name;

    private String pictures;

    private String introduction;

    private String label;

    private List<FoodAndShop> foodAndShops;

//    private Integer cityid;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score == null ? null : score.trim();
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price == null ? null : price.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPictures() {
        return pictures;
    }

    public void setPictures(String pictures) {
        this.pictures = pictures == null ? null : pictures.trim();
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public List<FoodAndShop> getFoodAndShops() {
        return foodAndShops;
    }

    public void setFoodAndShops(List<FoodAndShop> foodAndShops) {
        this.foodAndShops = foodAndShops;
    }

    //    public Integer getCityid() {     return cityid; }

//    public void setCityid(Integer cityid) {     this.cityid = cityid; }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", score=").append(score);
        sb.append(", price=").append(price);
        sb.append(", address=").append(address);
        sb.append(", name=").append(name);
        sb.append(", pictures=").append(pictures);
//        sb.append(", cityid=").append(cityid);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}